@import './base.css';

#app {
  /* 移除最大宽度限制，让应用占据整个屏幕 */
  max-width: none;
  margin: 0;
  padding: 0;
  height: 100vh;
  width: 100vw;
}

a,
.green {
  text-decoration: none;
  color: hsla(160, 100%, 37%, 1);
  transition: 0.4s;
  padding: 3px;
}

@media (hover: hover) {
  a:hover {
    background-color: hsla(160, 100%, 37%, 0.2);
  }
}

/* 修改媒体查询中的样式，确保在大屏幕下也占据整个屏幕 */
@media (min-width: 1024px) {
  body {
    display: flex;
    place-items: stretch; /* 修改为stretch使元素拉伸填满容器 */
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
  }

  #app {
    display: flex;
    flex-direction: column;
    padding: 0;
    height: 100%;
    width: 100%;
  }
}